local RxFwWnd = {
}

function RxFwWnd:show(wid, locTable, kind)
  wid = wid or 'unknow'

  if kind == nil then
    kind = 0
  end

  local x1 = locTable[1] or 0
  local y1 = locTable[2] or 0
  local x2 = locTable[3] or 1
  local y2 = locTable[4] or 1

  fwShowWnd(wid, x1, y1, x2, y2, kind)
  return wid
end

function RxFwWnd:close(wid)
  wid = wid or 'unknow'
  fwCloseWnd(wid)
end

return RxFwWnd